WUT Function
Syntax
Output_String as C = wut(string as C)
Arguments
- stringCharacter
A text string to capitalize.
Returns
- Output_StringCharacter
The processed text string.
Description
Capitalizes the first letter of each word in a string and removes all leading and trailing whitespace.
Discussion
The WUT() function is a convenience function that can be used in place of calling w_upper() and alltrim() on a string. It capitalizes the initial letter of each word in a string and removes all leading and training spaces.
Example
? wut(" Now is the time ") = "Now Is The Time"
See Also